// 首页导航菜单配置
const menu = [
  {
    key: '2pdf',
    title: '转为PDF',
    items: [
      { key: 'word2pdf', title: 'Word转PDF', path: '/convert/word2pdf', sourceType: 'word' },
      { key: 'excel2pdf', title: 'Excel转PDF', path: '/convert/excel2pdf', sourceType: 'excel' },
      { key: 'ppt2pdf', title: 'PPT转PDF', path: '/convert/ppt2pdf', sourceType: 'ppt' },
      { key: 'jpg2pdf', title: 'JPG转PDF', path: '/convert/jpg2pdf', sourceType: 'jpg' },
    ],
  },
  {
    key: '2image',
    title: '图片转换',
    items: [
      { key: 'word2jpg', title: 'Word转JPG', path: '/convert/word2jpg', sourceType: 'word' },
      { key: 'excel2jpg', title: 'Excel转JPG', path: '/convert/excel2jpg', sourceType: 'excel' },
      { key: 'ppt2jpg', title: 'PPT转JPG', path: '/convert/ppt2jpg', sourceType: 'ppt' },
      { key: 'pdf2jpg', title: 'PDF转JPG', path: '/convert/pdf2jpg', sourceType: 'pdf' },
      { key: 'word2png', title: 'Word转PNG', path: '/convert/word2png', sourceType: 'word' },
      { key: 'excel2png', title: 'Excel转PNG', path: '/convert/excel2png', sourceType: 'excel' },
      { key: 'ppt2png', title: 'PPT转PNG', path: '/convert/ppt2png', sourceType: 'ppt' },
      { key: 'pdf2png', title: 'PDF转PNG', path: '/convert/pdf2png', sourceType: 'pdf' },
    ],
  },
  {
    key: '2txt',
    title: '文本转换',
    items: [
      { key: 'word2txt', title: 'Word转TXT', path: '/convert/word2txt', sourceType: 'word' },
      { key: 'excel2txt', title: 'Excel转TXT', path: '/convert/excel2txt', sourceType: 'excel' },
      { key: 'ppt2txt', title: 'PPT转TXT', path: '/convert/ppt2txt', sourceType: 'ppt' },
      { key: 'pdf2txt', title: 'PDF转TXT', path: '/convert/pdf2txt', sourceType: 'pdf' },
    ],
  },
]

export default menu
